/**
 * Copyright (C)  2011  chen wei hua.
 * Permission is granted to copy, distribute and/or modify this document
 * under the terms of the GNU Free Documentation License, Version 2.0
 * or any later version published by the Free Software Foundation;
 * with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
 * A copy of the license is included in the section entitled "GNU Free Documentation License".
 */
package com.javaeye.order.dto;

import java.util.Set;

import com.javaeye.common.dto.DTO;
import com.javaeye.store.dto.MaterialsCategory;

public class Customer implements DTO {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 2844773041688424970L;

	private int id;
	
	private String name;
	
	private String area;
	
	private String conditionCategory;
	
	private Set<MaterialsCategory> productCategorys;
	
	private String address;
	
	private String contact;
	
	private String phone;
	
	private String createDate;
	
	private String taxName;
	
	private String taxNo;
	
	private String fax;
	
	private String email; 
	
	private String remark;
	
	private int inuse;
	
	public boolean isInUse() {
		return inuse == 1;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getConditionCategory() {
		return conditionCategory;
	}

	public void setConditionCategory(String conditionCategory) {
		this.conditionCategory = conditionCategory;
	}

	public Set<MaterialsCategory> getProductCategorys() {
		return productCategorys;
	}

	public void setProductCategorys(Set<MaterialsCategory> productCategorys) {
		this.productCategorys = productCategorys;
	}

	public void setCreateDate(String createDate) {
		this.createDate = createDate;
	}

	public String getCreateDate() {
		return createDate;
	}

	public void setTaxName(String taxName) {
		this.taxName = taxName;
	}

	public String getTaxName() {
		return taxName;
	}

	public void setTaxNo(String taxNo) {
		this.taxNo = taxNo;
	}

	public String getTaxNo() {
		return taxNo;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int getInuse() {
		return inuse;
	}

	public void setInuse(int inuse) {
		this.inuse = inuse;
	}
	
}
